package com.atguigu.atcrowdfunding.exception;

/**
 * 继承RuntimeException而不是Exception的原因
 * 原因，业务层事务回滚，spring声明式事务默认只对RuntimeException类型异常进行事务回滚
 * @author yl
 *
 */
public class LoginException extends RuntimeException {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public LoginException(){
		
	}
	
	public LoginException(String message){
		super(message);
	}

}
